package com.trkj.dao.wxy;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojo.Admission;
public interface AdmissionDao extends CrudRepository<Admission, Long> {
	//准考证查询
	@Query("select a,s from Admission a inner join a.staffInformation s")
	public List<Object[]> queryByAdmission(Pageable p);
}
